package chapter2.No2_2_synchronized同步语句块.p锁对象的改变.demo2;

/**
 * Created by Administrator on 2016/11/15.
 */
public class UserBean {

    private String userName;
    private String psw;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPsw() {
        return psw;
    }

    public void setPsw(String psw) {
        this.psw = psw;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userName='" + userName + '\'' +
                ", psw='" + psw + '\'' +
                '}';
    }
}
